package org.geektimes.projects.user.validator;

import javax.validation.Constraint;
import java.lang.annotation.*;

/**
 * @Author: jipeng
 * @Description:
 * @Date: Created in 2021/3/11 15:27
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Constraint(validatedBy = UserValidAnnotationValidator.class)
public @interface UserValid {

    int idRange() default 0;


}
